﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QLKTX1._0.DTO
{
    class HoaDonDienNuocDTO
    {
        private string maHoaDon;

        private NamDTO maNam;

        private ThangDTO maThang;

        private int chiSoDienDau;

        private int chiSoDienCuoi;

        private int chiSoNuocDau;

        private int chiSoNuocCuoi;

        private int thanhTien;

        private PhongODTO maPhongO;

        private DateTime ngayLapHoaDon;

        private int tinhTrangThanhToan;

        //ham get set
        public string MaHoaDon
        {
            get { return maHoaDon; }

            set { maHoaDon = value; }
        }
        public NamDTO MaNam
        {
            get { return maNam; }
            set { maNam = value; }
        }
        public ThangDTO MaThang
        {
            get { return maThang; }

            set { maThang = value; }
        }
        public int ChiSoDienDau
        {
            get { return chiSoDienDau; }

            set { chiSoDienDau = value; }
        }
        public int ChiSoDienCuoi
        {
            get { return chiSoDienCuoi; }

            set { chiSoDienCuoi = value; }
        }
        public int ChiSoNuocDau
        {
            get { return chiSoNuocDau; }

            set { chiSoNuocDau = value; }
        }
        public int ChiSoNuocCuoi
        {
            get { return chiSoNuocCuoi; }

            set { chiSoNuocCuoi = value; }
        }
        public int ThanhTien
        {
            get { return thanhTien; }

            set { thanhTien = value; }
        }
        public PhongODTO MaPhongO
        {
            get { return maPhongO; }

            set { maPhongO = value; }
        }
        public DateTime NgayLapHoaDon
        {
            get { return ngayLapHoaDon; }

            set { ngayLapHoaDon = value; }
        }
        public int TinhTrangThanhToan
        {
            get { return tinhTrangThanhToan; }

            set { tinhTrangThanhToan = value; }
        }

        //ham dung
        public HoaDonDienNuocDTO()
        {

        }
        public HoaDonDienNuocDTO(string maHoaDon, NamDTO maNam, ThangDTO maThang, int chiSoDienDau, int chiSoDienCuoi, int chiSoNuocDau, int chiSoNuocCuoi, int thanhTien, PhongODTO maPhongO, DateTime ngayLapHoaDon, int tinhTrangThanhToan)
        {
            this.maHoaDon = maHoaDon;

            this.maNam = maNam;

            this.maThang = maThang;

            this.chiSoDienDau = chiSoDienDau;

            this.chiSoDienCuoi = chiSoDienCuoi;

            this.chiSoNuocDau = chiSoNuocDau;

            this.chiSoNuocCuoi = chiSoNuocCuoi;

            this.thanhTien = thanhTien;

            this.maPhongO = maPhongO;

            this.ngayLapHoaDon = ngayLapHoaDon;

            this.tinhTrangThanhToan = tinhTrangThanhToan;
                      
        }
    }
}
